<!DOCTYPE html>
<html ng-app="myapp">
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<script src="../jQuery/jQuery-2.1.4.min.js"></script>
	<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
	<script src="test.js"></script>
	<body ng-controller="myctrl">
		<div id={{$index}} style="width: 100px;height: 30px; border: 1px solid red;" ng-repeat="n in [1,2,3]">
			
			{{n}}
		</div> 
		
	</body>
	<script>
	var model = angular.module("myapp",[]);
	model.controller("myctrl",function($scope,$timeout){
		$timeout(function(){
			$("body").find("div").each(function(){
			console.log($(this).attr("id")) 
		});
		});
	});
		
	
		
	</script>
	
</html>
